raar.compiler
Class RACompilerException
java.lang.Object
java.lang.Throwable
java.lang.Exception
raar.exceptions.RAException
raar.compiler.RACompilerException
- All Implemented Interfaces:
- java.io.Serializable
- public class RACompilerException
- extends RAException
Exception thrown by the various methods of the Compiler. Internally catched and converted to an RAException.
However the extra code fragment option enables the compiler to give a more specific error message, especially
the line of code in which the error occured.
- See Also:
- Serialized Form
|
Constructor Summary |
RACompilerException(java.lang.String e,
java.lang.String codeFragment,
int lineOfError)
|
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RACompilerException
public RACompilerException(java.lang.String e,
java.lang.String codeFragment,
int lineOfError)
getCodeFragment
public java.lang.String getCodeFragment()
getLineOfError
public int getLineOfError()
getMessage
public java.lang.String getMessage()